package com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.start_price;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class StartPriceAddUpdateWrapper {
    private Long id;
    @NotBlank(message = "运营区不能为空")
    private String driverRegionId;
    @NotBlank(message = "标题不能为空")
    private String title;
    @NotNull(message = "起步里程不能为空")
    private Double mileage;
    @NotNull(message = "起步金额不能为空")
    private Double price;
    @NotNull(message = "每公里金额不能为空")
    private Double normalUnitPrice;
}
